projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff9bae
)
Correct a typo in layout preparation
author
Alex Crichton
<alex@alexcrichton.com>
Tue, 22 Jul 2014 14:38:01 +0000
(07:38 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Tue, 22 Jul 2014 14:38:01 +0000
(07:38 -0700)
If a build was canceled halfway-through, this would lead to problems when the
project was rebuilt again.
src/cargo/ops/cargo_rustc/layout.rs
patch
|
blob
|
history
diff --git
a/src/cargo/ops/cargo_rustc/layout.rs
b/src/cargo/ops/cargo_rustc/layout.rs
index 2fa1bd024630c1d388337e5189bf906f573b2003..42bf4a0f859867b26d9251012b65b4164e384608 100644
(file)
--- a/
src/cargo/ops/cargo_rustc/layout.rs
+++ b/
src/cargo/ops/cargo_rustc/layout.rs
@@
-84,7
+84,7
@@
impl Layout {
try!(fs::rmdir_recursive(&self.old_root));
}
if self.old_native.exists() {
- try!(fs::rmdir_recursive(&self.old_
root
));
+ try!(fs::rmdir_recursive(&self.old_
native
));
}
if self.deps.exists() {
try!(fs::rename(&self.deps, &self.old_deps));